import Home from '../pages/Home'
import Chart from '../pages/Chart'
import Messegs from '../pages/Messegs'
import Setting from '../pages/Setting'
import Container from '../pages/Container'
import Login from '../pages/Login'


const routes = [{
    path:'/',
    redirect:'/home/renli'
},{
    path:'/home/renli',
    component:Home,
    isNav:true,
    icon:'&#xe606;',
    children:[{
        path:'/home/:container',
        component:Container,
        props:true
     }]
},{
    path:'/setting/sheze1',
    component:Setting,
    isNav:true,
    icon:'&#xe62d;',
    children:[{
        path:'/setting/:container',
        component:Container,
        props:true
     }]
},{
    path:'/chart/tu1',
    component:Chart,
    isNav:true,
    icon:'&#xe614;',
    children:[{
        path:'/chart/:container',
        component:Container,
        props:true
     }]
},{
    path:'/messegs/xinxi1',
    component:Messegs,
    isNav:true,
    icon:'&#xe764;',
    children:[{
        path:'/messegs/:container',
        component:Container,
        props:true
     }]
},{
    path:'/login',
    component:Login
    
}]

export default routes